home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / configNetIf.z / configNetIf
Encoding:
Text File  |  2002-10-03  |  6.2 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCOOOONNNNFFFFIIIIGGGGNNNNEEEETTTTIIIIFFFF((((1111MMMM))))                                                CCCCOOOONNNNFFFFIIIIGGGGNNNNEEEETTTTIIIIFFFF((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      configNetIf - configure the network interfaces
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff [----iiii <_i_n_t_e_r_f_a_c_e>] [----pppp] [----hhhh <_h_o_s_t_n_a_m_e>] [----aaaa
  13.      <_I_P _a_d_d_r_e_s_s>] [----mmmm <_n_e_t_m_a_s_k>] [----rrrr <_m_e_t_r_i_c>] [----dddd oooonnnn||||ooooffffffff] [----nnnn] [uuuupppp||||ddddoooowwwwnnnn]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff configures the network interfaces on the system. This command
  17.      not only updates the given network interface, but also updates relevant
  18.      system files. This command is used by the _S_e_t _U_p _a_n_d _S_t_a_r_t _N_e_t_w_o_r_k_i_n_g and
  19.      _T_u_r_n _O_f_f _N_e_t_w_o_r_k_i_n_g tasks.
  20.  
  21.  
  22. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  23.      ----iiii <_i_n_t_e_r_f_a_c_e>
  24.           The network interface ( ec0, ec1, ... ). This should be a valid
  25.           interface name on the system. For a list of all the network
  26.           interfaces on the system, use, _n_e_t_s_t_a_t -_i. ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff quits with a
  27.           non-zero error number if the given <_i_n_t_e_r_f_a_c_e> name is invalid. _l_o_0
  28.           is not a valid interface.
  29.  
  30.      ----pppp   Primary interface. ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff allows operations on the primary
  31.           interface if the <_i_n_t_e_r_f_a_c_e> is not passed in. If the command is
  32.           invoked with both the arguments, it sets the current <_i_n_t_e_r_f_a_c_e> to
  33.           be the primary interface. By default, if no <_i_n_t_e_r_f_a_c_e> name or ----pppp
  34.           options are passed in, then, ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff assumes the primary
  35.           interface.
  36.  
  37.      ----hhhh <_h_o_s_t_n_a_m_e>
  38.           The hostname. ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff configures the given network interface
  39.           with the passed in <_h_o_s_t_n_a_m_e>, after validating the name. If the
  40.           interface is the primary interface, it updates the /_e_t_c/_s_y_s__i_d file
  41.           along with updating the /_e_t_c/_h_o_s_t_s database.
  42.  
  43.      ----aaaa <_I_P _a_d_d_r_e_s_s>
  44.           The IP address. ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff configures the given network interface
  45.           with the passed in <_I_P _a_d_d_r_e_s_s>, after validating the address. If
  46.           the interface is the primary interface, it updates _n_v_r_a_m _n_e_t_a_d_d_r,
  47.           along with updating the /_e_t_c/_h_o_s_t_s database.
  48.  
  49.      ----mmmm <_n_e_t_m_a_s_k>
  50.           The Sub netmask. ccccoooonnnnffffiiiiggggNNNNeeeettttIIIIffff configures the given network interface
  51.           with the passed in <_n_e_t_m_a_s_k>, after validating the netmask. For more
  52.           information on the netmask, see _i_f_c_o_n_f_i_g(_1_M).
  53.  
  54.      ----rrrr <_m_e_t_r_i_c>
  55.           The Routing Metric. Set the interface routing metric to <_m_e_t_r_i_c>.
  56.           The default is 0.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCOOOONNNNFFFFIIIIGGGGNNNNEEEETTTTIIIIFFFF((((1111MMMM))))                                                CCCCOOOONNNNFFFFIIIIGGGGNNNNEEEETTTTIIIIFFFF((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----dddd _o_n|_o_f_f
  75.           Let the DHCP client configure this interface.  If not specified,
  76.           default is off.
  77.  
  78.      ----nnnn   Restart the network after making the changes.  This has the effect
  79.           of killing any applications with files open on a network file system
  80.           or current working directories in network file system.  If this
  81.           switch is not used, the system will not be fully configured until
  82.           the network is restarted (such as with a reboot).
  83.  
  84.      uuuupppp||||ddddoooowwwwnnnn
  85.           The network interface state. Currently, if no interface is
  86.           specified, the command turns on or off the system networking state (
  87.           _c_h_k_c_o_n_f_i_g(_1_M) ).
  88.  
  89.  
  90. FFFFIIIILLLLEEEESSSS
  91.      /etc/hosts                       The local hosts database.
  92.      /etc/config/network              The network configuration file.
  93.      /etc/sys_id                      The hostname.
  94.      /var/yp/ypdomain                 The domain name.
  95.      /etc/config/netif.options        The network interface definitions file.
  96.      /etc/config/ifconfig-*.options   The network interface configurations
  97.                                       file.
  98.      /etc/init.d/network              The network script that is executed at
  99.                                       the end of a successful run of the
  100.                                       command.
  101.      /etc/config/network              The network configuration file
  102.  
  103. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  104.      sysmgr(1M)                       The System Manager
  105.      NetIfManager(1M)                 The Network Interface Manager
  106.  
  107.      runpriv(1M), ifconfig(1M), netstat(1), chkconfig(1M),
  108.      network(1M), nvram(1M), hosts(4)
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.